Skip to content

Comments

docs: simplify hooks documentation wording#6576

Merged
chenjiahan merged 1 commit intomainfrom
hooks_doc_1114
Nov 14, 2025
Merged

docs: simplify hooks documentation wording#6576
chenjiahan merged 1 commit intomainfrom
hooks_doc_1114

Conversation

@chenjiahan
Copy link
Member

Summary

Improve clarity in hooks documentation for dev, build and preview commands.

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings November 14, 2025 06:01
@netlify
Copy link

netlify bot commented Nov 14, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 978148c
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6916c5d458ecce00080e097c
😎 Deploy Preview https://deploy-preview-6576--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 81 (🟢 up 19 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR simplifies the hooks documentation by removing redundant wording and improving readability. The changes maintain consistency across both English and Chinese documentation versions.

Key Changes:

  • Removed the qualifier "only" from section descriptions to make the language more concise
  • Changed section introductions to use colons instead of periods for better formatting
  • Removed detailed explanatory text about close hook triggers to streamline the documentation

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
website/docs/en/plugins/dev/hooks.mdx Simplified English documentation for Dev, Build, and Preview hooks sections
website/docs/zh/plugins/dev/hooks.mdx Simplified Chinese documentation for Dev, Build, and Preview hooks sections with parallel changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@chenjiahan chenjiahan merged commit aedf75f into main Nov 14, 2025
18 checks passed
@chenjiahan chenjiahan deleted the hooks_doc_1114 branch November 14, 2025 06:06
@chenjiahan chenjiahan mentioned this pull request Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant